home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11193 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.jhu.edu!news
  2. From: Chenyang Xu <chenyang@mashie.ece.jhu.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: getopt()
  5. Date: Thu, 21 Mar 1996 20:14:26 -0500
  6. Organization: ECE Department, The Johns Hopkins University
  7. Message-ID: <3151FEF2.167E@mashie.ece.jhu.edu>
  8. NNTP-Posting-Host: 128.220.14.26
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22)
  13.  
  14. Hi, there,
  15.  
  16.    What is the role of colon in the string of getopt()? For example,
  17.  
  18. while ((c = getopt(argc, argv, "f:o:cdDS")) != EOF)
  19. ...
  20.  
  21.    Thanks for any shedded light!
  22.  
  23. -- 
  24. Chenyang
  25.  
  26.                               \\|//
  27.                               (o o)
  28.  --------------------------ooO-(_)-Ooo----------------------------------
  29.    (o) 410-516-6819             |   Fax:410-516-5566
  30.    chenyang@jhu.edu             |   http://iacl.ece.jhu.edu/~chenyang      
  31.          _________________________________________________________
  32.         /          Image Analysis and Communication Lab          /
  33.        /   Department of the  Electric and Computer Engineering /
  34.       /         The Johns Hopkins University                   /  
  35.      /             Baltimore, MD 21218                        /
  36.  =======================================================================
  37.